@layout("/common/_container.html"){
<div class="ibox float-e-margins" xmlns="http://www.w3.org/1999/html">
    <div class="ibox-content">
        <form id="reportForm" method="post" action="${ctxPath}/accident/exportDocByT" accept="application/msword">
            <div class="form-horizontal">

                <div class="row">

                    <div id="itemsArea">
                        <#button btnCss="info" name="手动增加通讯人员" icon="fa-plus" clickFun="EditshortMessageDeg.addItem()"/>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">编辑信息：</label>
                        <div class="col-sm-11">
                        <textarea  name="locale" class="form-control" required=""
                                   rows="8" aria-required="true"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </form>

        <div class="row btn-group-m-t">
            <div class="col-sm-10">
                <#button btnCss="info" name="发送" id="ensure" icon="fa-check" clickFun="EditshortMessageDeg.submit()"/>
                <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="EditshortMessageDeg.close()"/>
            </div>
        </div>
    </div>

</div>
</div>

<script type="text/template" id="itemTemplate">
    <div class="row" name="dictItem" id="dictItem">
        <div class="col-md-3">
            <div class="form-group">
                <label class="col-sm-4 control-label">姓名：</label>
                <div class="col-sm-8">
                    <input type="text" id="name"  name="name" class="form-control" required="" aria-required="true"/>
                </div>
            </div>
        </div>
        <div class="col-md-3">
            <div class="form-group">
                <label class="col-sm-5 control-label">行政职务：</label>
                <div class="col-sm-7">
                    <input type="text" id="duty" name="duty" class="form-control" required="" aria-required="true"/>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="form-group">
                <label class="col-sm-4 control-label">电话：</label>
                <div class="col-sm-8">
                    <input type="text" id="telphone" name="telphone" class="form-control" required="" aria-required="true"/>
                </div>
            </div>
        </div>
        <div class="col-md-2">
            <#button btnCss="danger" name="删除" id="cancel" icon="fa-remove"
                    clickFun="EditshortMessageDeg.deleteItem(event)"/>
        </div>
    </div>
</script>

<script src="${ctxPath}/static/modular/yjya/accident/edit_short_message.js"></script>
@}
